how to fix mongo command run errors